package community

import (
	"crmeb-common/global"
	"math/big"
)

// CommunityNotesProduct 社区笔记商品表
type CommunityNotesProduct struct {
	global.BaseModel
	NoteId int32 `json:"noteId" gorm:"column=note_id;comment:笔记ID"`

	ProductId int32 `json:"productId" gorm:"column=product_id;comment:商品ID"`

	IsPay int32 `json:"isPay" gorm:"column=is_pay;comment:是否购买：0-未购买，1-已购买"`

	ProductName string `json:"productName" gorm:"column=product_name;comment:商品名称"`

	ProductImage string `json:"productImage" gorm:"column=product_image;comment:商品图"`

	Price big.Float `json:"price" gorm:"column=price;comment:商品售价"`

	OtPrice big.Float `json:"otPrice" gorm:"column=ot_price;comment:商品市场价"`
}
